#-------------------------------------------------
#
# Project created by QtCreator 2012-09-12T18:08:55
#
#-------------------------------------------------

QT       += core gui network sql webkit

TARGET = yt_front
TEMPLATE = app

CONFIG += link_prl

SOURCES += main.cpp\
        widget.cpp \
    application.cpp \
    qtsingleapplication-src/qtsinglecoreapplication.cpp \
    qtsingleapplication-src/qtsingleapplication.cpp \
    qtsingleapplication-src/qtlockedfile_win.cpp \
    qtsingleapplication-src/qtlockedfile_unix.cpp \
    qtsingleapplication-src/qtlockedfile.cpp \
    qtsingleapplication-src/qtlocalpeer.cpp

HEADERS  += widget.h \
    application.h \
    qtsingleapplication-src/qtsinglecoreapplication.h \
    qtsingleapplication-src/qtsingleapplication.h \
    qtsingleapplication-src/QtSingleApplication \
    qtsingleapplication-src/qtlockedfile.h \
    qtsingleapplication-src/QtLockedFile \
    qtsingleapplication-src/qtlocalpeer.h

FORMS    += widget.ui

RESOURCES += \
    jslib.qrc \
    page.qrc \
    mdb.qrc

RC_FILE = yt_front.rc

OTHER_FILES += \
    jslib/jquery.lazyload.js \
    page/page1.html \
    page/page1.css \
    qtsingleapplication-src/qtsinglecoreapplication.pri \
    qtsingleapplication-src/qtsingleapplication.pri

INCLUDEPATH += qtsingleapplication-src

#[export]
CONFIG(release, debug|release) {
    target.path = C:/usr/local/release
    INSTALLS += target
} else {
    target.path = C:/usr/local/debug
    INSTALLS += target
}

#[import]
INCLUDEPATH += C:/usr/local/include
CONFIG(release, debug|release) {
    QMAKE_LFLAGS += -LC:/usr/local/release
} else {
    QMAKE_LFLAGS += -LC:/usr/local/debug
}
LIBS += -lt_core -lyt_dump_lib
LIBS += -lt_core -lyt_dump_lib
